Skip to content

Conversation

@bobhairgrove
Copy link
Contributor

Seems to work now. Adding the debug_and_release token to CONFIG might impact other workflows, so it needs to be tested on your configuration. But I think it is an improvement since it keeps all of the intermediate artifacts (object files, etc.) in one build configuration separate from the other configurations.

However, I discovered that if you already have a custom build directory which switches on {BuildConfig:name} in Qt Creator settings, as I do, you can also leave it out. But you need the CONFIG(debug,debug|release) switch to keep one TARGET specification from overwriting the other.

If you want to try out the OBJECTS_DIR = ./.obj, etc. suggestion, I can create another pull request for that.

@Simsys Simsys merged commit d5c7abf into Simsys:master Jul 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants